/**
 * @Filename: sampletest.cpp
 * @Description:
 * @Author: chengxiaojun
 * @Email: xiaojun.chengxj@alibaba-inc.com
 * @Time: 2011/11/11
 */

#include<sampletest.h>
#include<tester.h>

int   test_sample1(CommonOperationST *my_arg){

     BillBoard *board = my_arg->board;

     string value = my_arg->lookupArgument("argument1",string("value1"));
     INFO_LOG("value is %s", value.c_str());
    
     int ivalue = my_arg->lookupArgument("argument2", 1);
     INFO_LOG("value is %d", ivalue);

     board->set("key1",1);

     return 0;
}
int   test_sample2(CommonOperationST *my_arg){

     BillBoard *board = my_arg->board;
     board->set("key2",2);
     EXPECT_TRUE(1==2);
     EXPECT_STREQ("1","1a");
     
     return 0;
}



void init() {
     STAT_GLOG("sample so start ...");
}
void finish() {
     STAT_GLOG("sample so stop ...");
}
